<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:68:"D:\wamp\www\zz\tp5\public/../application/index\view\index\index.html";i:1499081701;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="keywords" content="总评网，新闻资讯应用，头条，热点，科技，娱乐，健康，时尚，家居，教育，旅行，两性，美食，星座，阅读，个性化新闻">
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="robots" content="all">
    <meta property="qc:admins" content="16552431616114116210566375">
    <title>众评网</title>
    <link rel="stylesheet" type="text/css" href="/static/home/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="/static/home/css/index-90c796d4.css" />
    <link rel="stylesheet" type="text/css" href="/static/home/layui/css/layui.css" />
    <link rel="stylesheet" type="text/css" href="/static/home/css/my.css" />
    <link rel="stylesheet" type="text/css" href="/static/home/css/article-0a443e5e.css" />
    <link rel="stylesheet" type="text/css" href="/static/home/css/channel-7ee78179.css" />
    <link rel="stylesheet" type="text/css" href="/static/home/css/focus.css" />
    <style >
    .del{
        top: -10px;
        position: relative;
    }
    .hui{
        float: left;
        padding: 15px 0px;
        font-size: 18px;
        position: relative;
        top: -16px; 
    }
    .del:hover{
        color: red;
    }
    .top {
        width: 100%;
        background: white;
        height: 60px;
        position: absolute;
    }

    .fixed {
        position: fixed;
        top: 0;
    }
    .del:hover{
        color: red;
    }
    .dropdown-to{
        position: absolute;
        top: 20px;
        left: 1000px
    }
    .dual{top:260px;position:absolute; width:102px; overflow:hidden; display:none; z-index:100}
    .dual_l{ left:6px}
    .dual_r{right:6px}
    .dual_con{border:#CCC solid 1px;width:150px; height:150px; overflow:hidden; background-color:#0C9}
    .dual_close{width:100%;height:24px; line-height:24px; text-align:center; display:block; font-size:13px; color:#555555; text-decoration:none}
    </style>
</head>
<body class="page-index">
<div class="header-search " style="top: 0px;height: 180px;padding-top: 55px">
    <div class="content">
    <a href="/index" style="float: left"><img src="/static/home/img/log.bmp" alt=""></a>
    <a href="/tian">天气</a>
        <div class="float-right header-links">
            <?php if(!session('?tel')): ?>
            <button type="button" class="tn btn-login js-to-login " data-toggle="modal" data-target="#exampleModal" id="dengru">登录
            </button>
            <?php else: ?>
            <div class="dropdown">
                <a id="dLabel" data-target="#" href="http://example.com" data-toggle="dropdown" role="button"
                   aria-haspopup="true" aria-expanded="false">
                    <?php if(session('?name')): ?>
                    <?php echo session('name'); else: ?>
                    <?php echo session('tel'); endif; ?>
                </a>
                <ul class="dropdown-menu" aria-labelledby="dropdownMenu1" style="min-width: 1px">
                    <li><a href="/personal">个人中心</a></li>
                    <li><a href="/media">添加频道</a></li>
                    <li role="separator" class="divider"></li>
                    <li><a href="<?php echo url('index/Index/Log'); ?>">退出</a></li>
                </ul>
            </div>
            <?php endif; ?>
        </div>
    </div>
</div>
<!-- 搜索 -->
<div class="ll" style="width: 100%;position: absolute;left: 0;height: 40px;margin-left: 160px;z-index: 99;top: 132px">
    <nav class="navbar">
        <div class="content" style="z-index: 99">
            <div class="top" style="width: 1080px">
                <nav class="navbar navbar-default" style="border: 0px;">
                   <div class="navbar-header">
                        <a data-index="0" href="/index" data-channelid="best"
                         class="navbar-brand active">首页</a>
                          <a data-index="1"
                         href="/focus"
                         data-channelid="hot" class="navbar-brand ">要闻</a>
                        <?php if(!session('?tel')): if(is_array($hotss) || $hotss instanceof \think\Collection || $hotss instanceof \think\Paginator): $i = 0; $__LIST__ = $hotss;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ht): $mod = ($i % 2 );++$i;?>
                         <a data-index="1"
                         href="/focus/<?php echo $ht['cid']; ?>"
                         data-channelid="hot" class="navbar-brand "><?php echo $ht['cname']; ?></a>
                         <?php endforeach; endif; else: echo "" ;endif; else: if(is_array($ass) || $ass instanceof \think\Collection || $ass instanceof \think\Paginator): $i = 0; $__LIST__ = $ass;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$fl): $mod = ($i % 2 );++$i;?>
                          <a data-index="1"
                         href="/focus/<?php echo $fl['cid']; ?>"
                         data-channelid="hot" class="navbar-brand" xh="vo"><?php echo $fl['cname']; ?></a>
                         <?php endforeach; endif; else: echo "" ;endif; endif; ?>
                    </div>
  
                        <!-- Collect the nav links, forms, and other content for toggling -->
                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1" >
                        <ul class="nav navbar-nav navbar-right">
                            <a href="" class="dropdown-to " style="background-color:white">更多 <span
                                    class="caret"></span></a>
                            <li class="dropdo" style="display: none">
                                <ul class="dropdown-me">
                                    <li>
                                    <div class="shu" style="width: 1080px;">
                                        <a data-index="0" href="index" data-channelid="best"
                                          class="navbar-brand active">首页</a>
                                    <a data-index="1"
                                    href="/focus"
                                    data-channelid="hot" class="navbar-brand ">要闻</a>      
                                    <?php if(!session('?tel')): if(is_array($hotssz) || $hotssz instanceof \think\Collection || $hotssz instanceof \think\Paginator): $i = 0; $__LIST__ = $hotssz;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ht): $mod = ($i % 2 );++$i;?>
                                    <a data-index="1"
                                    href="/focus/<?php echo $ht['cid']; ?>"
                                    data-channelid="hot" class="navbar-brand "><?php echo $ht['cname']; ?></a>
                                    <?php endforeach; endif; else: echo "" ;endif; else: if(is_array($assz) || $assz instanceof \think\Collection || $assz instanceof \think\Paginator): $i = 0; $__LIST__ = $assz;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$fl): $mod = ($i % 2 );++$i;?>
                                      <a data-index="1" href="/focus" data-channelid="hot" class="navbar-brand" xh="vo">
                                      <span class="del" style="display: none;width: 18px" da-hd="<?php echo $fl['cid']; ?>"><span class="glyphicon glyphicon-remove" style="font-size: 18px;z-index:88"></span></span>
                                    <button class="hui" ><?php echo $fl['cname']; ?></button>
                                    </a>
                                     <?php endforeach; endif; else: echo "" ;endif; endif; ?>   
                                    </div>
                                    </li>
                                    <li class="navbar-brand" >
                                    <button class="bianji" style="color: blue">编辑</button>
                                    <button class="wan" style="display: none;color: blue">完成</button>
                                    <li class="navbar-brand" ><a href="/media" style="color: blue">更多</a></li>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </div><!-- /.navbar-collapse -->
                </nav>
            </div>
        </div>
    </nav>
</div>
<div>
</div>

<?php if(is_array($advi) || $advi instanceof \think\Collection || $advi instanceof \think\Paginator): $i = 0; $__LIST__ = $advi;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ad): $mod = ($i % 2 );++$i;?>
<audio src="<?php echo $mu; ?>" autobuffer autoloop loop controls></audio>
<div class="dual dual_l"><div class="dual_con"><a href="<?php echo $ad['http']; ?>"><img src="/<?php echo $ad['aimage']; ?>" alt=""></a></div><a href="#" class="dual_close">X关闭</a></div>
<div class="dual dual_r"><div class="dual_con"><a href="<?php echo $ad['http']; ?>"><img src="/<?php echo $ad['aimage']; ?>" alt=""></a></div><a href="#" class="dual_close">X关闭</a></div>  
<?php endforeach; endif; else: echo "" ;endif; ?>
<div class="main index-main">
    <div class="aside">

        <div class="widget-box widget-hot-article-box">
            <div class="widget widget-hot-article">
                <h4>热文排行</h4>
                <?php if(is_array($paper) || $paper instanceof \think\Collection || $paper instanceof \think\Paginator): $i = 0; $__LIST__ = $paper;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$pape): $mod = ($i % 2 );++$i;?>
                <div class="content news-list">

                    <a class="doc item-0 " href="articles/<?php echo $pape['aid']; ?>">
                        <div class="glyphicon glyphicon-play"></div>
                        <div class="doc-title" style="display: inline"><?php echo $pape['aname']; ?></div>
                    </a>

                </div>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
        </div>
        <div class="widget-box widget-about-yidian-box">
            <div class="widget widget-about-yidian">
                <h4>友情链接</h4>
                <div class="widget-box widget-hot-article-box">
                    <div class="widget widget-hot-article">
                       
                        <?php if(is_array($link) || $link instanceof \think\Collection || $link instanceof \think\Paginator): $i = 0; $__LIST__ = $link;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$li): $mod = ($i % 2 );++$i;?>
                        <div class="content news-list">
                            <a class="doc item-0 " href="<?php echo $li['fpath']; ?>">
                                <div class="glyphicon glyphicon-play"></div>
                                <div class="doc-title" style="display: inline"><?php echo $li['fname']; ?></div>
                            </a>

                        </div>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </div>
                </div>
            </div>
        </div>
        <div class="widget-box widget-about-yidian-box">
            <div class="widget widget-about-yidian">
                <h4>轻松一刻</h4>
                <div class="widget-box widget-hot-article-box">
                    <div class="widget widget-hot-article">
                       
                        <?php if(is_array($game) || $game instanceof \think\Collection || $game instanceof \think\Paginator): $i = 0; $__LIST__ = $game;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ga): $mod = ($i % 2 );++$i;?>
                        <div class="content news-list">
                            <a class="doc item-0 " href="/Gamegoos/<?php echo $ga['gid']; ?>">
                                <div class="glyphicon glyphicon-play"></div>
                                <div class="doc-title" style="display: inline"><?php echo $ga['gname']; ?></div>
                            </a>

                        </div>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 轮播图     -->
    <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
        <!-- Indicators -->
        <ol class="carousel-indicators">
            <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
            <li data-target="#carousel-example-generic" data-slide-to="1"></li>
            <li data-target="#carousel-example-generic" data-slide-to="2"></li>
        </ol>

        <!-- Wrapper for slides -->
        <div class="carousel-inner" role="listbox">


            <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;if($v['home'] == 0): ?>
            <div class="item active">
            <?php else: ?>
                <div class="item">
            <?php endif; ?>
                <a href="/articles/<?php echo $v['aid']; ?>">
                    <img src="<?php echo $v['cmage']; ?>" alt="...">
                    <div class="carousel-caption">
                        <span><?php echo $v['aname']; ?></span>
                    </div>
                </a>
                </div>
                <?php endforeach; endif; else: echo "" ;endif; ?>

            </div>

            <!-- Controls -->
            <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
                <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                <span class="sr-only">Previous</span>
            </a>
            <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
                <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                <span class="sr-only">Next</span>
            </a>
        </div>

        <!-- 内容 -->
        <div class="channel-news channel-news-0">
            <?php if(is_array($article) || $article instanceof \think\Collection || $article instanceof \think\Paginator): $i = 0; $__LIST__ = $article;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <a class="item doc style-small-image style-content-middle" href="articles/<?php echo $vo['aid']; ?>" id="<?php echo $vo['aid']; ?>">

                <div class="doc-image-small-wrapper">
                    <div class="doc-image-box">
                        <img class="doc-image doc-image-small"
                             src="<?php echo $vo['amage']; ?>" style="height: 100px ;width: 160px">


                    </div>
                </div>
                <div class="doc-content">
                    <div class="doc-content-inline">
                        <div class="doc-title"><?php echo $vo['aname']; ?></div>
                        <div class="doc-info">


                            <span class="source"><?php echo $vo['nickname']; ?></span>


                            <span class="date"><?php echo date("Y-m-d H:i",$vo['regtime']); ?></span>
                        </div>
                    </div>
                </div>
            </a>
            <?php endforeach; endif; else: echo "" ;endif; ?>

            


        </div>
    </div>
    
    <div class="mask"></div>
    <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
        <div class="modal-dialog" role="document" style="display: block">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true"></span></button>
                    <h4>登录</h4>
                </div>
                <div class="modal-body">
                    <form action="<?php echo url('index/Index/sign'); ?>" method="post" accept-charset="utf-8">
                        <div class="form-group">
                            <label for="recipient-name" class="control-label">手机号码:</label>
                            <input type="text" class="form-control" id="recipient" name="tel" placeholder="手机号" maxlength='11' required>
                        </div>
                        <div class="form-group">
                            <label for="message-text" class="control-label">密码:</label>
                            <input type="password" class="form-control" id="recipient-name2" name="pwd"
                                   placeholder="密码" required>
                        </div>
                        <div class="modal-footer">
                            <input type="submit" name="" class="btn btn-default" value="登录">
                            <!-- <button type="button" class="btn btn-default" data-dismiss="modal">登录</button> -->
                            <button type="button" class="btn btn-primary" data-toggle='modal' id="btn2">去注册</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>

        <!-- 注册 -->
        <div class="modal-dialog" role="document" id="dier" style="display: none">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true"></span></button>
                    <h4>注册</h4>
                </div>
                <div class="modal-body">
                    <form action="<?php echo url('index/Index/save'); ?>" method="post" accept-charset="utf-8" name="regForm" onsubmit="return checkForm()">
                        <div class="form-group">
                            <label for="recipient-name" class="control-label">手机号码:</label>
                            <input type="text" class="form-control" id="recipient-name" name="tel" placeholder="手机号"
                                   maxlength='11' onblur="checkphone()"><span id="box"></span>
                        </div>
                        <div class="form-group">
                            <label for="message-text" class="control-label">密码:</label>
                            <input type="password" class="form-control" id="ient-name" name="pwd" placeholder="密码"
                                   onblur="checkPass()"><span id="pas">需要字母加数字最少6位,最多18位</span>
                        </div>
                        <div class="form-group">
                            <label for="message-text" class="control-label">重复密码:</label>
                            <input type="password" class="form-control" id="ient-name" name="repwd" placeholder="密码"
                                   onblur="checkRePass()"><span id="repas"></span>
                        </div>
                        <input type="hidden" name="time" value="<?php echo time(); ?>">
                        <div class="modal-footer">
                           <button type="button" class="btn btn-default" data-toggle='modal' id="deng">返回</button>
                            <!-- <button type="button" class="btn btn-primary" data-toggle='modal'>注册</button>   -->
                            <input type="submit" class="btn btn-primary" id="btm" value="注册">
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript" src="/static/home/js/jquery.min.js"></script>
    <script type="text/javascript" src="/static/home/js/bootstrap.js"></script>
    <script type="text/javascript" src="/static/home/layui/layui.js"></script>
    <script type="text/javascript" src="/static/home/js/hh.js"></script>

    <div class="footer-mini-wrapper">
        <div class="footer-mini">
            <p>
                <span class="icon-jgw"></span><span>京公网安备 11010802020163号</span><a
                    target="_blank">互联网药品信息服务资格证书</a><span>京网文[2015]0377-157号</span><span>京ICP证140123号</span>
            </p>
            <p>
                <span>公司名称：众评科技有限公司</span>
            </p>
        </div>
    </div>
</body>
</html>